kernel: Fix boot of realtek rtl838x
authorHauke Mehrtens <[email protected]>
Mon, 15 Dec 2025 01:02:35 +0000 (02:02 +0100)
committerHauke Mehrtens <[email protected]>
Tue, 16 Dec 2025 23:32:25 +0000 (00:32 +0100)
commitfe1b06f7257b49dc0b2046b785e46a27de2cd4fb
treebc2ce57bd49ef7338dc3cc3d3ccb8ab367d0997c
parent0669972095cb7b451101f185730024c2208e92bf
kernel: Fix boot of realtek rtl838x

Revert two patches from upstream Linux:
https://github.com/gregkh/linux/commit/135178e90aa43ad949534e1d6e376c4034942caa
https://github.com/gregkh/linux/commit/63a93d1cd6077d79735f804f5a4957bfb240280c

This fixes a boot hang on realtek rtl838x switches.
This is the last printed message:
Inode-cache hash table entries: 8192 (order: 3, 32768 bytes, linear)

Thread on mips mailing list:
https://lore.kernel.org/linux-mips/b35fe4b3-8f42-49f4-a6bf-9f0e56d4050c@hauke-m.de/T/#u

Link: https://github.com/openwrt/openwrt/pull/21166
Signed-off-by: John Audia <[email protected]>
Link: https://github.com/openwrt/openwrt/pull/21126
Signed-off-by: Hauke Mehrtens <[email protected]>
(cherry picked from commit 0bfc66e7b50ef5d0653bc209a7d29ab8e3a7c6b2)
target/linux/generic/pending-6.12/360-Revert-MIPS-mm-kmalloc-tlb_vpn-array-to-avoid-stack-.patch [new file with mode: 0644]
target/linux/generic/pending-6.12/361-Revert-MIPS-mm-Prevent-a-TLB-shutdown-on-initial-uni.patch [new file with mode: 0644]